/*

import '../remote/database_helper.dart';

class Controller {
  // Function to add a new subscriber
  Future<int> addSubscriber(String name, String email) async {
    Map<String, dynamic> subscriber = {
      'name': name,
      'email': email,
    };
    return await DatabaseHelper.insertSubscriber(subscriber);
  }

  // Function to add a new subscription
  Future<int> addSubscription(int subscriberId, String startDate, String endDate) async {
    Map<String, dynamic> subscription = {
      'subscriber_id': subscriberId,
      'start_date': startDate,
      'end_date': endDate,
    };
    return await DatabaseHelper.insertSubscription(subscription);
  }

  // Function to add a new attendance record
  Future<int> addAttendance(int subscriberId, String date) async {
    Map<String, dynamic> attendance = {
      'subscriber_id': subscriberId,
      'date': date,
    };
    return await DatabaseHelper.insertAttendance(attendance);
  }
}
*/
